package com.woniuxy.three.pms.roomtype.service;

import java.util.List;

import com.woniuxy.three.pms.bean.RoomTypeBean;

/**
* @ProjectName: PMS
* @Package: com.woniuxy.three.pms.roomtype.service.IRoomTypeService
* @ClassName: IRoomTypeService 
* @Author:  subai-dhl
* @Description: 房间类型管理模块 
* @Date: 2019/6/19 16:46 
* @Version: 1.0 版本
* @See：参考版本
*/
public interface IRoomTypeService {

	/**
	 * @Method findAllType
	 * @Author subai-dhl
	 * @Description 查询该酒店的所有类型房间
	 * @Version 1.0
	 * @return
	 * @Date 2019/6/19 17:57
	 */
	public List<RoomTypeBean> findAllType();
	
	
	public List<RoomTypeBean> findAllType1();
	/**
	 * @Method findById
	 * @Author subai-dhl
	 * @Description 通过id查询该类房间详细信息
	 * @Version 1.0
	 * @return
	 * @Date 2019/6/19 17:57
	 */
	public RoomTypeBean findById(Integer roomTypeID);
	/**
	 * @Method addRoomType
	 * @Author subai-dhl
	 * @Description 新增房间类型
	 * @Version 1.0
	 * @param roomT RoomTypeBean
	 * @return
	 * @Date 2019/6/19 18:49
	 */
	public boolean addRoomType(RoomTypeBean roomT);
	
	
	/**
	 * @Method changeRoomType
	 * @Author subai-dhl
	 * @Description 修改房间类型，包括优惠政策、房间库存
	 * @Version 1.0
	 * @param roomT
	 * @return
	 * @Date 2019/6/19 18:58
	 */
	public boolean changeRoomType(RoomTypeBean roomT);
	
	/**
	 * @Method deleteRoomType
	 * @Author subai-dhl
	 * @Description 删除房间类型
	 * @Version 1.0
	 * @param RoomTypeId
	 * @return
	 * @Date 2019/6/19 18:58
	 */
	public boolean deleteRoomType(Integer RoomTypeId);
	
	
	/**
	 * @Method changeStock
	 * @Author subai-dhl
	 * @Description 修改每个类型房间的7天库存
	 * @Version 1.0
	 * @return
	 * @Date 2019/6/20 21:18
	 */
	public boolean changeStock();
	
	public int findStock(Integer roomtId);
}
